import request from '@/utils/request'

// 查询线路站点扩展列表
export function listRouteStationExtend(query) {
  return request({
    url: '/dispatch/routeStationExtend/list',
    method: 'get',
    params: query
  })
}

// 查询线路站点扩展详细
export function getRouteStationExtend(id) {
  return request({
    url: '/dispatch/routeStationExtend/' + id,
    method: 'get'
  })
}

// 新增线路站点扩展
export function addRouteStationExtend(data) {
  return request({
    url: '/dispatch/routeStationExtend',
    method: 'post',
    data: data
  })
}

// 修改线路站点扩展
export function updateRouteStationExtend(data) {
  return request({
    url: '/dispatch/routeStationExtend',
    method: 'put',
    data: data
  })
}

// 删除线路站点扩展
export function delRouteStationExtend(id) {
  return request({
    url: '/dispatch/routeStationExtend/' + id,
    method: 'delete'
  })
}
